package com.zian.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum PayTypeEnum {
    NO(0, "无"),

    ALIPAY(1, "支付宝"),

    WECHAT(2, "微信");

    PayTypeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @JsonValue
    @EnumValue
    private final Integer code;
    private final String msg;



}
